/*
 * DTOFinHandshake.h
 *
 *  Created on: Nov 5, 2011
 *      Author: gonzalo
 */

#ifndef DTOFINHANDSHAKE_H_
#define DTOFINHANDSHAKE_H_

#include "DTO.h"

class DTOFinHandshake: public DTO {
public:
	DTOFinHandshake(unsigned int listenPort,unsigned int broadcastPort);
	virtual ~DTOFinHandshake();

	DTOFinHandshake(std::string& aDeserealizar,std::string owner);

	virtual std::string serializar();

	unsigned int getListenPort() const;
	unsigned int getBroadcastPort() const;

protected:

	void deserializar(std::string& string);

	unsigned int listenPort;
	unsigned int broadcastPort;
};

#endif /* DTOFINHANDSHAKE_H_ */
